package org.edu.modules.oa.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
// 表名
@TableName("ve_oa_moiblemessage")
// 返回值变成对象
@Accessors(chain = true)
// 重写toString
@EqualsAndHashCode(callSuper = false)
public class VeOaMobileMsgExportVo {
    /**id*/
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;


    //详细内容
    @Excel(name = "日记主题", width = 15)
    @ApiModelProperty(value = "日记主题")
    @TableField(value = "content")
    private String content;
    //收阅人
    @Excel(name = "记录人", width = 15)
    @ApiModelProperty(value = "记录人")
    @TableField(value = "readers")
    private String readers;
    //发布时间
    @Excel(name = "记录时间", width = 15)
    @ApiModelProperty(value = "记录时间")
    @TableField(value = "create_time")
    private String createTime;
    //发布人
    @Excel(name = "发布人", width = 15)
    @ApiModelProperty(value = "发布人")
    @TableField(value = "create_by")
    private String createBy;
    //短信类型
    @Excel(name = "短信类型", width = 15)
    @ApiModelProperty(value = "短信类型")
    @TableField(value = "msg_type")
    private String msgType;



}
